Method of trial functions
#incomplete